
import React, { useState, useEffect } from 'react';
import { createRoot } from 'react-dom/client';
import { Button } from 'antd';

interface abc {
  name: string;
}

const a:abc = {
  name: '123'
}

a.name = '1234'
a = null;

const App = ({children}) => {

  return (
    <div>
      {a.name}
    </div>
  )
}
// 渲染应用
const root = document.getElementById('root');
createRoot(root).render(
  <App>wefwfwe2343242f32422354</App>
);